﻿<phone:PhoneApplicationPage
    x:Class="WP8.Paneles.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <TextBlock Text="XAMLDEVELOPMENT.BLOGSPOT.COM" Style="{StaticResource PhoneTextNormalStyle}" Margin="12,0"/>
            <TextBlock Text="paneles" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>

            <!-- GRID -->
            <!--<Grid x:Name="grid" Background="LightGray" ShowGridLines="True">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto"/>
                    <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="*"/>
                </Grid.ColumnDefinitions>
                <Image x:Name="img" Source="/Assets/xamldevelopment.png" Grid.Row="0" Grid.Column="0"/>
                <Rectangle x:Name="rec" Grid.Row="1" Grid.Column="1" Fill="SkyBlue"></Rectangle>
            </Grid>-->


            <!-- STACKPANEL -->
            <!--<StackPanel x:Name="sp" Orientation="Vertical">
                <Rectangle x:Name="rec1" Fill="#ff80bca3" Height="20" />
                <Rectangle Fill="#fff6f7bd" Height="20" />
                <Rectangle Fill="#ffe6ac27" Height="20" />
            </StackPanel>-->


            <!-- CANVAS -->
            <!--<Canvas x:Name="cnv" Background="White">
                <Rectangle x:Name="blueRec" Height="60" Width="60" Fill="Blue"/>
                <Rectangle Height="60" Width="60" Fill="Red" Canvas.Left="10" Canvas.Top="20"/>
            </Canvas>-->


            <!-- BORDER -->
            <!--<Border>
                <Image Source="http://www.packtpub.com/sites/default/files/banners/Learning%20jQuery%201.3.jpg" Stretch="UniformToFill"/>
            </Border>-->


            <!-- SCROLL VIEWER -->
            <!--<ScrollViewer HorizontalScrollBarVisibility="Auto">
                <Image Source="http://4.bp.blogspot.com/-THq7nnpt7Os/UyIK_Yf3qiI/AAAAAAAAA50/fh9rTky-oLk/s1600/biblioteca.jpg" />
            </ScrollViewer>-->


            <!-- VIEWBOX -->
            <!--<Viewbox>
                <TextBlock Text="Look ma! I can stretch!" />
            </Viewbox>-->

            <StackPanel Orientation="Horizontal" Grid.Row="1">
                <Button x:Name="btnAccion1" Content="Accion 1" Click="btnAccion1_Click"/>
                <Button x:Name="btnAccion2" Content="Accion 2" Click="btnAccion2_Click"/>
            </StackPanel>
        </Grid>
    </Grid>

</phone:PhoneApplicationPage>